﻿using AutoMapper;
using Traceability.API.Applications.Command.AquacultureCommand;
using Traceability.API.Applications.Command.DeepProcessingCommand;
using Traceability.API.Applications.Command.PictureCommand;
using Traceability.API.Applications.Command.SlaughterCommand;
using Traceability.API.Applications.Command.TracebackCommand;
using Traceability.Domain;
using Traceability.Domain.DTO.Output;

namespace Traceability.API
{
    public class AutoMapperProFile:Profile
    {
        public AutoMapperProFile()
        {
            CreateMap<TracebackAddCommand, Traceback_Information>();
            CreateMap<Traceback_Information, TracebackQueryDTO>();
            CreateMap<Traceback_Information, TracebackFirstDTO>();
            CreateMap<PictureAddCommand, Picture>();
            CreateMap<AquacultureAddCommand, Aquaculture_Information>();
            CreateMap<FarmAddCommand, Farm>();
            CreateMap<SlaughterAddCommand,Slaughter_Information>();
            CreateMap<HealthcareAddCommand, Healthcare_Information>();
            CreateMap<SlaughterHouseAddCommand, Slaughter_House>();
            CreateMap<DeepProcessingAddCommand, Deep_Processing>();
            CreateMap<ProcessingPlantAddCommand,Processing_Plant>();

            


















        }
    }
}
